<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ include file="/views/commons/taglibs.jsp" %>
<div class="panel panel-default">
	<div class="panel-heading">
		<h3 class="panel-title">修改密码</h3>
	</div>
	<form id="reset_password_form" class="form-horizontal m-t" novalidate="novalidate" action="javascript:resetPassword();">
		<div class="form-group">
			<label class="col-sm-3 control-label">旧密码：</label>
			<div class="col-sm-5">
				<input type="password" class="form-control" name="oldPassword">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">密码：</label>
			<div class="col-sm-5">
				<input type="password" class="form-control" name="password" id="password" placeholder="长度6到15位，允许输入字母、_、数字"></div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">确认密码：</label>
			<div class="col-sm-5">
				<input type="password" class="form-control" name="confirmPassword" id="confirm_password" placeholder="长度6到15位，允许输入字母、_、数字"></div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">验证码：</label>
			<div class="col-sm-3">
				<input type="text" aria-invalid="false" id="image_code" name="imageCode" aria-required="true" class="form-control" ></div>
			<div class="col-sm-2">
				<img id="imgCode" src="<%=path%>/uncheck/imageCode/reset_password_page" height="34" alt="点击刷新验证码" onclick="javascript:refreshImage()"></div>
		</div>

		<div class="form-group">
			<div class="col-sm-8 col-sm-offset-3">
				<button type="submit" class="btn btn-primary" id="reset_password_btn">确定</button>
			</div>
		</div>
	</form>
</div>